<?php

namespace app\admin\controller;

use app\admin\model\BuildingZoneModel;
use app\common\controller\Backend;
use think\Db;
use think\exception\DbException;
use think\exception\PDOException;
use think\exception\ValidateException;

/**
 * 楼栋管理
 *
 * @icon fa fa-building
 */
class BuildingZone extends Backend
{

    /**
     * Building模型对象
     * @var \app\admin\model\Building
     */
    protected $model = null;
    protected $dataLimitField = 'user_id';
    protected $dataLimit = true;
    protected $dataLimitFieldAutoFill = true;

    public function _initialize()
    {
        parent::_initialize();
        $this->model = new \app\admin\model\BuildingZoneModel();

    }
}
